/**
 * 游戏全局事件
 */
export enum gameEvents {
    //资源被拾取
    onResourcePickup,
    //进度条
    onLoading,
    //背包物品被点击
    onBagItemClick,
    //向背包添加物品
    onAddBagItem,
    //玩家体力更新事件
    onAddPlayerHp,
    //玩家经验更新事件
    onAddPlayerEx,
    //配方技能被点击
    onFormulaItemClick,
    //任务被点击
    onTaskItemClick,
}

/**
 * 资源路径
 */
export enum resourcePath {
    //背包物品预置体
    bagItemPrefab = "prefab/bagItem",
    //资源物品预置体
    resourceItemPrefab = "prefab/resourceItem",
    //配方预置体
    formulaItemPrefab = "prefab/formulaItem",
    //任务预置体
    taskItemPrefab = "prefab/taskItem",
    //地图物品拾取特效
    pickupEffectsPrefab = "prefab/pickupEffects",
    /** 拍卖行商品预置*/
    auctionItemPrefab = "prefab/auctionItemPrefab",
    /** 下雨天声音*/
    sound_weather_rainy = "sound/weather_rainy",
}

/**
 * 本地存储键枚举
 */
export enum stroageKey {
    player, //玩家
    config, //配置
    ResourceItemBean, //地图资源
    mapRefreshTime, //地图刷新时间
    pet, //地图刷新时间
    mapRefreshSwitch, //地图是否可以刷新
}

/** 对象池枚举 */
export enum EPoolName {
    resourceItem,
    auctionItemPrefab,
}

/** 音频加载路径枚举 */
export enum EAudio {
    M_BGM = "bgm", //背景音乐
    E_CLICK = "sound/dialogPop", //弹出层
    PickUp = "sound/popping", //拾取
    PFailure = "sound/dialogPop", //制作或拾取失败
}
